module.exports = {
    devServer: {
        //启动以后自动打开浏览器
        open: true,
        proxy: {
            '/api': {
/*
                target:'https://springboot-3fzy-79543-6-1322312696.sh.run.tcloudbase.com/',
*/
                target:'http://43.143.230.240:9003/',
/*
                target:'http://127.0.0.1:9003/',
*/
                changeOrigin: true,//允许跨越
                pathRewrite: {
                    '^/api': ''
                }
            },
            '/metest': {
                target: 'https://7072-prod-0g36g611fc13d81b-1322312696.tcb.qcloud.la/metest/',
                changeOrigin: true,//允许跨越
                pathRewrite: {
                    '^/metest': ''
                }
            },
            '/update': {
                target: 'https://api.weixin.qq.com/tcb/uploadfile',
                changeOrigin: true,//允许跨越
                pathRewrite: {
                    '^/update': ''
                }
            }
        }
    }
}